package com.example.erat.constant;

/**
 * 系统常量
 */
public class SystemConstant {

    /**
     * 默认的导入Excel文件中的列
     */
    public static final class ExcelColumn {
        public static final String STUDENT_ID = "学号";
        public static final String NAME = "姓名";
        public static final String GRADE = "年级";
        public static final String MAJOR = "专业";
    }
    
    /**
     * 文件相关常量
     */
    public static final class FileConstant {
        public static final String EXCEL_SUFFIX = ".xlsx";
        public static final String CSV_SUFFIX = ".csv";
        public static final String DOC_SUFFIX = ".doc";
        public static final String DOCX_SUFFIX = ".docx";
        public static final String PDF_SUFFIX = ".pdf";
    }
    
    /**
     * 导出Excel的列名
     */
    public static final class ExportExcelColumn {
        // 学生维度统计
        public static final String STUDENT_ID = "学号";
        public static final String STUDENT_NAME = "姓名";
        public static final String MISSING_COUNT = "缺交次数";
        public static final String MISSING_EXPERIMENTS = "缺交实验列表";
        
        // 实验维度统计
        public static final String EXPERIMENT_NAME = "实验名";
        public static final String MISSING_STUDENTS_COUNT = "缺交人数";
        public static final String MISSING_STUDENTS_LIST = "缺交实验列表";
        public static final String SUBMISSION_RATE = "提交率";
    }
} 